package com.runvp.service.biz.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.runvp.common.annotation.Excel;
import com.runvp.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * 支付请求记录对象 biz_pay_record
 *
 * @author runvp
 * @date 2023-05-25
 */
@ToString
@Getter
@Setter
public class BizPayRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 请求地址 */
    @Excel(name = "请求地址")
    private String reqUrl;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 支付ID */
    @Excel(name = "支付ID")
    private String payId;

    /** 支付订单号 */
    @Excel(name = "支付订单号")
    private String payOrderNo;

    /** 金额 */
    @Excel(name = "金额")
    private String amount;

    /** 请求参数 */
    @Excel(name = "请求参数")
    private String param;

    /** 接口类型 */
    @Excel(name = "接口类型")
    private String itfType;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String payType;

    /** 响应状态 */
    @Excel(name = "响应状态")
    private String resStatus;

    /** 响应内容 */
    @Excel(name = "响应内容")
    private String resData;

    /** 订单提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "订单提交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date referTime;

}
